package com.zw.cc.model;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * Created by zwz
 * date 2016/12/15
 * project com.zw.cc.model
 */
public class UserLoginEntity {

    @NotBlank
    @Length(max = 20)
    private String account;

    @NotBlank
    @Length(max = 40)
    private String password;

    private boolean remember;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public boolean isRemember() {
        return remember;
    }

    public void setRemember(boolean remember) {
        this.remember = remember;
    }
}
